<include file="../Public/_top" />
<div class="content">
  <div class="wrap">
    <div class="con_side">
      <ul class="nav">
        <li class="cursor"><a href="{:U('public/Resources/index')}">培训资讯</a></li>
        <li><a href="{:U('public/Resources/TeacherResources')}">学习资源</a></li>
      </ul>
    </div>
    <div class="con_main">
    <volist name="data" id="d">
      <div class="con_tit">
        <span>{$d.name}</span>
          <ul class="con_tit_ul">
            <volist name="d['level']" id="l">
              <li><a href="{:U('public/Resources/index',array('type'=>$l['id']))}">{$l.name}</a></li>
            </volist>
          </ul>
      </div>
      <div class="con_box">
        <ul class="learningList">
          <volist name="d['data']" id="listData">
            <li> 
              <div class="pic">
                <a href="{:U('public/Resources/view',array('id'=>$listData['id']))}">
                  <img src="{$listData.img_url}" />
                </a>
              </div>
              <div style="margin-top:15px;margin-left:10px;">
                <a href="{:U('public/Resources/view',array('id'=>$listData['id']))}" style="font-size:16px;" >《{$listData.resource_name}》
                </a>
              </div>
              <div class="txt" style="margin-top:15px;margin-left:10px;font-size:14px;">
                <span>{$listData['ctime']|date='Y/m/d',###}</span>
                <if condition="$listData['category'] eq 1">文档资源<else/>视频资源</if>
              </div>
              <div class="stu" style="margin-top:15px;">
                <span></span>{$listData.learn_sum}人已学
              </div>
            </li>
          </volist>
        </ul>
      </div>
    </volist>
    </div>
  </div>
</div>
<include file="../Public/_foot" />